//
//  CopyLinkAction.m
//  NetEaseFinancial
//
//  Created by 吴玉峰 on 8/27/15.
//  Copyright (c) 2015 吴玉峰. All rights reserved.
//

#import "WYFCopyLinkAction.h"
#import <UIKit/UIKit.h>

@implementation WYFCopyLinkAction

- (NSString *)getIconName {
    return @"share_action_copy_link";
}

- (NSString *)getLabelName {
//    return NSLocalizedString(@"Copy link", @"share_action_copy_link") ;
    return NSLocalizedString(@"复制链接\n", @"share_action_copy_link") ;

}

- (BOOL)shareWithHolder:(WYFShareHolder *)holder {
    [super shareWithHolder:holder];
    UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
    pasteboard.string = holder.webUrl;
    return YES;
}

@end
